package com.ruoyi.production.mapper.regulator;

import java.util.List;
import com.ruoyi.production.domain.regulator.RegulatorPurchase;

/**
 * 调节剂购买信息Mapper接口
 *
 * @author ruoyi
 * @date 2021-07-12
 */
public interface RegulatorPurchaseMapper
{
    /**
     * 查询调节剂购买信息
     *
     * @param regulatorPurchaseId 调节剂购买信息ID
     * @return 调节剂购买信息
     */
    public RegulatorPurchase selectRegulatorPurchaseById(Long regulatorPurchaseId);

    /**
     * 查询调节剂购买信息列表
     *
     * @param regulatorPurchase 调节剂购买信息
     * @return 调节剂购买信息集合
     */
    public List<RegulatorPurchase> selectRegulatorPurchaseList(RegulatorPurchase regulatorPurchase);

    /**
     * 新增调节剂购买信息
     *
     * @param regulatorPurchase 调节剂购买信息
     * @return 结果
     */
    public int insertRegulatorPurchase(RegulatorPurchase regulatorPurchase);

    /**
     * 修改调节剂购买信息
     *
     * @param regulatorPurchase 调节剂购买信息
     * @return 结果
     */
    public int updateRegulatorPurchase(RegulatorPurchase regulatorPurchase);

    /**
     * 删除调节剂购买信息
     *
     * @param regulatorPurchaseId 调节剂购买信息ID
     * @return 结果
     */
    public int deleteRegulatorPurchaseById(Long regulatorPurchaseId);

    /**
     * 批量删除调节剂购买信息
     *
     * @param regulatorPurchaseIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteRegulatorPurchaseByIds(Long[] regulatorPurchaseIds);
}
